package com.mvc.business.model;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

/**
 * 
 * @author snowpbx
 * @version V1.0 Create Time: 2012-10-25
 */
@Entity(name = "B_SAMPLE_ITEM")
public class SampleItem extends BaseUnit {
	@NotNull
	private Integer	sampleId;
	@NotNull
	@Length(max = 128)
	private String	bookName;
	private String	no;
	private Double	unitPrice;

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public Double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Integer getSampleId() {
		return sampleId;
	}

	public void setSampleId(Integer sampleId) {
		this.sampleId = sampleId;
	}
}
